'use client';

import { AntdRegistry } from '@ant-design/nextjs-registry';
import Main from './main';
import TurnTo from '../utils/turnto';

import './globals.css';

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body>
        <AntdRegistry>
          <TurnTo/>
          <Main>
            {children}
          </Main>
        </AntdRegistry>
      </body>
    </html>
  );
}
